package com.sinochem.yunlian.ship.api.vo.message;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 
 * 
 * @author cyp
 * @email ${email}
 * @date 2017-12-07 11:14:01
 */
@Data
public class SvMobilePushInfo implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//push content
    private String content;
    
    //目标App
    private Integer targetApp;
	
	//推送目标(0:设备,1:tag,2:alias)
    private Integer targetType;
	
	//推送的目标具体值（ios、android、all、tag、alias）
    private String targetValue;
    
    //操作用户
    private Long userId;
    
    //业务模块
    private String busiModule;

    //业务ID
    private String busiId;
    
    //业务重定向路径
    private String busiTargetPath;

	//消息类型(通知or自定义消息)
	private Integer sendType;

	//推送消息类型
	private Integer msgType;

    public SvMobilePushInfo(){}
    
    /**
     * 初始化数据
     * @param content
     * @param targetApp
     * @param targetType
     * @param targetValue
     * @param userId
     * @param busiModule
     * @param busiId
     * @param busiTargetPath
     */
	public SvMobilePushInfo(String content,Integer targetApp
			,Integer targetType,String targetValue
			,Long userId,String busiModule
			,String busiId,String busiTargetPath,Integer sendType,Integer msgType){
		this.content = content;
		this.targetApp = targetApp;
		this.targetType = targetType;
		this.targetValue = targetValue;
		this.userId = userId;
		this.busiModule = busiModule;
		this.busiId = busiId;
		this.busiTargetPath = busiTargetPath;
		this.sendType = sendType;
		this.msgType = msgType;
	}

}
